package com.itheima.service;

import io.swagger.v3.oas.models.responses.ApiResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface OrdersettingService {
    byte[] generateOrderSettingExcel() throws IOException;

    /**
     * 处理文件上传
     * @param excelFile 上传的 Excel 文件
     * @throws Exception
     */
    void handleFileUpload(MultipartFile excelFile) throws Exception;


    void editNumberByOrderDate(String number, String orderDate);


    ApiResponse getOrderSettingByMonth(String month);
}
